from django.conf.urls import url,include
from djangoBlog import settings
from userinfo import views
'''
接口信息
登录 /login
退出 /logout
注册 /register
信息 /userinfo
编辑 /editinfo
'''

app_name = 'userinfo'
urlpatterns = [
    url('login',views.LoginUser.as_view(),name='LoginUser'),
    url('logout',views.LogoutUser.as_view(),name='LogoutUser'),
    url('register',views.RegisterUser.as_view(),name='RegisterUser'),
    url('user',views.GetUser.as_view(),name='getuser'),
    url('edit',views.EditUser.as_view(),name='edituser'),
]